{if $CONTENT.mainpart == 'galleryview'}
{include file="main/blocks/main_block_album_display_galleryview.tpl"}

{elseif $CONTENT.mainpart == 'slider'}
{include file="main/blocks/main_block_album_display_slider.tpl"}

{else}
{include file="main/blocks/main_block_album_display_detail.tpl"}

{/if}